import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import service.ILgoin;

@RunWith(SpringJUnit4ClassRunner.class)
@Controller(value = "classpath:spring/applicationContext.xml")
public class Test {
    @Qualifier("loginImpl")
    @Autowired
    ILgoin login;
    @org.junit.Test
    public void test(){
        Boolean flag2 = ILgoin.login("11015","654321");
        System.out.println(flag2);
    }

}